package com.znxz.hzqiuxm.ziniublog.global.exception;

/**
 * Copyright © 2018年 ziniuxiaozhu. All rights reserved.
 *
 * @Author 临江仙 hzqiuxm@163.com
 * User领域异常类
 * @Date 2018/8/30 20:23
 */

public class ZNUserException extends ZiniuException{
    /**
     * 异常构造方法，必须有Code和msg
     *
     * @param code 状态码
     * @param msg  错误信息
     */
    public ZNUserException(int code, String msg) {
        super(code, msg);
    }

    public ZNUserException(String message, int code, String msg) {
        super(message, code, msg);
    }

    public ZNUserException(String message, Throwable cause, int code, String msg) {
        super(message, cause, code, msg);
    }
}
